﻿using System.Collections.Generic;
using TMS.ProjectService;
using TMS.ProjectServiceImplement;
using Model = TMS.ProjectServiceModel;

namespace TMSPortal.Biz
{
    public class ProjectStatusBiz
    {
        private static IProjectStatusService service = new ProjectStatusService();

        public static List<Model.PublishStatus> GetAllProjectStatus(int id)
        {
            return service.GetAllProjectStatus(id);
        }

        public static Model.PublishStatus Insert(Model.PublishStatus projectStatus)
        {
            return service.Insert(projectStatus);
        }

        public static void Delete(int id)
        {
            service.Delete(id);
        }
    }
}